<?php

class BaseDao
{
    protected static $instance = null;

    private function __clone()
    {

    }

    protected function __construct()
    {

    }

    public static function getInstance()
    {
        if (static::$instance == null) {
            static::$instance = new static;
        }

        return static::$instance;
    }



}

?>